﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Taurus.Parking.DTO
{
    class Config
    {
        public Config(string uid)
        {
            UID = uid;
            IsAutoParking = true;
            AutoUpdateInterval = 15;
        }
        /// <summary>
        /// 用户ID
        /// </summary>
        public string UID { get; private set; }
        /// <summary>
        /// 是否自动选择最贵停车位
        /// </summary>
        public bool IsAutoParking { get; set; }
        /// <summary>
        /// 自动更新数据间隔
        /// </summary>
        public int AutoUpdateInterval { get; set; }
    }
}
